package com.nintendo.pojo.netty;

public class NettyServerNode {
    private String ip;
    private Integer port;
    private Integer onlineCounts;

    public NettyServerNode(String ip, Integer port, Integer onlineCounts) {
        this.ip = ip;
        this.port = port;
        this.onlineCounts = onlineCounts;
    }

    @Override
    public String toString() {
        return "NettyServerNode{" +
                "ip='" + ip + '\'' +
                ", port=" + port +
                ", onlineCounts=" + onlineCounts +
                '}';
    }

    public NettyServerNode() {
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getOnlineCounts() {
        return onlineCounts;
    }

    public void setOnlineCounts(Integer onlineCounts) {
        this.onlineCounts = onlineCounts;
    }
}
